package com.ebupt.migu.music.propagate.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ebupt.migu.propagate.MegamarketConf;

/**
 *  宣发彩铃信息
 * @author tz
 */
@DS("mysql_mg")
public interface MegamaketConfMapper extends BaseMapper<MegamarketConf> {
    /**
     *  根据id查
     * @param id
     * @return
     */
    default MegamarketConf qryById(String id){
        return this.selectOne(new QueryWrapper<MegamarketConf>().lambda().
                eq(MegamarketConf::getId,id));
    }
}
